import express from 'express';

const router = express.Router();
import userRoutes from './user.js';
import authRoutes from './auth.routes.js';
import {authLimiter} from "#src/middleware/rateLimitMiddleware.js";

router.use('/auth', authLimiter, authRoutes);
router.use('/users', userRoutes);

export default router;